<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@page import="com.saturn.auth.User"%>
<%@page import="com.saturn.sldb.Emergency"%>
<%@page import="com.saturn.app.utils.DateUtils"%>
<%@page import="com.saturn.auth.Organization"%>
<%@page import="java.util.*"%>
	<%
	User user = (User)session.getAttribute("authUser");
	String userId = user.getId();
	Organization organizationUser = Organization.getOneOrganizationByUser(userId);
	String name = organizationUser.getName();
	List organizations = Organization.getOrganizationByUser(user.getId());
	String department = "";
	if (organizations != null && !organizations.isEmpty()) {
		department = ((Organization)organizations.get(0)).getName();
	}
	%>	
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>添加紧急救助低保</title>
<%@ include file="/app/includes/header.jsp"%>
<style type="text/css">
<!--
.STYLE1 {
	font-size: 24px;
	font-weight: bold;
}
-->
	input {border:none;}
	.table_1{border-right:1px solid black; border-top:1px solid black}
	.table_1 td{border-left:1px solid black; border-bottom:1px solid black;}
	body{font-size:12px;}
</style>
<script> 
function submit(){ 
	if(editForm.name.value==""){ 
		alert("请输入姓名"); 
		}else if(editForm.sex.value==""){ 
		alert("请输入性别"); 
		}else if(editForm.identify.value==""){ 
		alert("请输入身份证号"); 
		}else if(editForm.home.value==""){ 
		alert("请输入家庭人口"); 
		}else if(editForm.money.value==""){ 
		alert("请输入审批金额"); 
		}else if(editForm.people.value==""){ 
		alert("请输入救助人口"); 
		}else if(editForm.month.value==""){ 
		alert("请输入救助月数"); 
		}else if(editForm.standard.value==""){ 
		alert("请输入适用低保标准"); 
		}else{
			var identify = $("#identify").val();
			//*********家庭编号根据低保对象表中获取存储到数据库中*********BEGIN
			$.ajax({
				type : 'post',
				async : false,
				data : { "identify": identify},
				url : "<%=request.getContextPath()%>/app/sldb/emergency/apply/checkHomeNumberAction.action",
				success : function(data, textStatus, jqXHR){
					//console.info(data);
					if(data.homeNumber!=null){
						$("#homeNumber").val(data.homeNumber);
					}
				},
				dataType : 'json'
			});
			//*********家庭编号根据低保对象表中获取存储到数据库中*********END

			//*******************如不存在则返回“此申报信息为非低保户“信息字样******BEGIN
			var safeWay = $("input[name='safeWay']:checked").val();
			if(safeWay=="低保对象"){
				if(identify==""||identify==null){
					alert("身份证号不能为空");
					return;
				}
				$.post(
					"<%=request.getContextPath()%>/app/sldb/emergency/apply/checkSafeWayAction.action",
					{ "identify": identify},
					function(data){
						if(data.count==0){
							alert("此申报信息为非低保户");
							return;
						}else{
							$('#editForm').submit();
						}
					}, 
					"json");
			}else{
				$('#editForm').submit();
			}
			//*******************如不存在则返回“此申报信息为非低保户“信息字样******END
			
			}
		} 

$(function() {
	//同户人信息1
	$('#c_relation0').combobox({
		value : '${subs[0].personRelation}',
		onSelect:function(record){
			$('#c_relation0').val(record.text);
	    }
	});
	
	//同户人信息2
	$('#c_relation1').combobox({
		value : '${subs[1].personRelation}',
		onSelect:function(record){
			$('#c_relation1').val(record.text);
	    }
	});
	
	//同户人信息3
	$('#c_relation2').combobox({
		value : '${subs[2].personRelation}',
		onSelect:function(record){
			$('#c_relation2').val(record.text);
	    }
	});
	
	//同户人信息4
	$('#c_relation3').combobox({
		value : '${subs[3].personRelation}',
		onSelect:function(record){
			$('#c_relation3').val(record.text);
	    }
	});
	
	//同户人信息5
	$('#c_relation4').combobox({
		value : '${subs[4].personRelation}',
		onSelect:function(record){
			$('#c_relation4').val(record.text);
	    }
	});
	
});
	<% 
	Calendar ca = Calendar.getInstance();
	int year = ca.get(Calendar.YEAR); //获取年份
	Emergency emergency = new Emergency();
	String number="";
	String numberNo = emergency.getNumberNO();
	if("".equals(numberNo) || numberNo == null){
		number= "00001";
	} else{
		number = numberNo.substring(numberNo.length()-5,numberNo.length()) + 1;
	}
	String jnumberNO = "J"+ year + number;
	String ynumberNO = "Y"+ year + number;
	%>
</script> 
<!-- START JS为radio赋值 -->
<script language="javascript" type="text/javascript">
	$(document).ready(function() {
		var rescueCategoryVO = "${emergency.rescueCategory}";
		
		if(document.getElementById("jinan").value == rescueCategoryVO){
			$("input[name='rescueCategory']").attr("checked",true);
		} else if(document.getElementById("zhichu").value == rescueCategoryVO){
			$("input[id='zhichu']").attr("checked",true);
		} else if(document.getElementById("kunjing").value == rescueCategoryVO){
			$("input[id='kunjing']").attr("checked",true);
		} else if(document.getElementById("qita").value == rescueCategoryVO){
			$("input[id='qita']").attr("checked",true);
		}
		//救助类型
		var peopleTypeVO = "${emergency.peopleType}";
		if(document.getElementById("geren").value == peopleTypeVO){
			$("input[id='geren']").attr("checked",true);
		} else if(document.getElementById("jiating").value == peopleTypeVO){
			$("input[id='jiating']").attr("checked",true);
		}

		//城镇类型
		var accountTypeVO = "${emergency.accountType}";
		if(document.getElementById("nongchun").value == accountTypeVO){
			$("input[id='nongchun']").attr("checked",true);
		} else if(document.getElementById("chengshi").value == accountTypeVO){
			$("input[id='chengshi']").attr("checked",true);
		}
		
		//户籍属地
		var registrationVO = "${emergency.registration}";
		if(document.getElementById("bendi").value == registrationVO){
			$("input[id='bendi']").attr("checked",true);
		} else if(document.getElementById("feibendi").value == registrationVO){
			$("input[id='feibendi']").attr("checked",true);
		}
		
		//救助方式
		var safeWayVO = "${emergency.safeWay}";
		if(document.getElementById("dibao").value == safeWayVO){
			$("input[id='dibao']").attr("checked",true);
		} else if(document.getElementById("feidibao").value == safeWayVO){
			$("input[id='feidibao']").attr("checked",true);
		}
		//申请事由
		var applyCauseVO = "${emergency.applyCause}";
		if(document.getElementById("hz").value == applyCauseVO){
			$("input[id='hz']").attr("checked",true);
		} else if(document.getElementById("jt").value == applyCauseVO){
			$("input[id='jt']").attr("checked",true);
		}else if(document.getElementById("tf").value == applyCauseVO){
			$("input[id='tf']").attr("checked",true);
		}else if(document.getElementById("kj").value == applyCauseVO){
			$("input[id='kj']").attr("checked",true);
		}else if(document.getElementById("zc").value == applyCauseVO){
			$("input[id='zc']").attr("checked",true);
		}else if(document.getElementById("qt").value == applyCauseVO){
			$("input[id='qt']").attr("checked",true);
		}
		//救助方式
		var wayVO = "${emergency.way}";
		if(document.getElementById("shehuihua").value == wayVO){
			$("input[id='shehuihua']").attr("checked",true);
		} else if(document.getElementById("xianjin").value == wayVO){
			$("input[id='xianjin']").attr("checked",true);
		};
		
		//紧急程度
		var typeVO = "${emergency.type}";
		if(document.getElementById("ybjz").value == typeVO){
			$("input[id='ybjz']").attr("checked",true);
		} else if(document.getElementById("jjjz").value == typeVO){
			$("input[id='jjjz']").attr("checked",true);
		};
	});
</script>
<!-- END JS为radio赋值 -->
</head>
<body>
	<form id="editForm" name="editForm" action="<%=request.getContextPath()%>/app/sldb/emergency/approval/updateEmergencyByXiangApproval.action" method="post">
		<input type="hidden" name="type1" value="auto" />
		<input id="createTime" name="createTime" type="hidden" value="${emergency.createTime}"></input>
			<input id="creater" name="creater" type="hidden" value="${emergency.creater}"></input>
			<input id="createrName" name="createrName" type="hidden" value="${emergency.createrName}"></input>
			<input id="createrDepartment" name="createrDepartment"  type="hidden" value="${emergency.createrDepartment}"></input>
			<input id="state" name="state" type="hidden" value="${emergency.state}"></input>
			<input id="inputType" name="inputType" type="hidden" value="${emergency.inputType}"></input>
			<input id="homeNumber" name="homeNumber" type="hidden" value="${emergency.homeNumber}"></input>
			<input id="files" name="files" type="hidden" value="${emergency.files}"></input>
			<%-- <input id="type" name="type" type="hidden" value="${emergency.type}"></input> --%>
			<input type="hidden" id="id" name="id" value="${emergency.id}" />
			<input type="hidden" id="remarks" name="remarks" value="${emergency.remarks}" />
		<OBJECT classid="clsid:10946843-7507-44FE-ACE8-2B3483D179B7"
			id="CVR_IDCard" name="CVR_IDCard" width="0" height="0"> </OBJECT>

		<script language="javascript" type="text/javascript">
				function ClearForm() {
					document.getElementById('name').value = "";
                    document.getElementById('sex').value = "";
                    document.getElementById('identify').value =  "";
                    document.getElementById('address').value = "";
                    document.getElementById('picture').src = ""; 
                      ClearForm2();
                      return true;
				}
				function ClearForm2() {
					var i=0;
					for(;i<6;i++){
						document.getElementById('c_name'+i).value = "";
	                    document.getElementById('c_sex'+i).value = "";
	                    document.getElementById('c_identify'+i).value = "";
	                    document.getElementById('c_relation'+i).value = "";
	                    document.getElementById('c_marry'+i).value = "";
	                    document.getElementById('c_ill'+i).value = "";
	                    document.getElementById('c_disability'+i).value = "";
	                    document.getElementById('c_labor'+i).value = "";
					}
					
                      return true;
				}
				function Button1_onclick() {
                   	var CVR_IDCard = document.getElementById("CVR_IDCard");	
					var strReadResult = CVR_IDCard.ReadCard();
					if(strReadResult == "0")
					{
						ClearForm();
					    /* document.all['name'].value = CVR_IDCard.Name;  
                        document.all['sex'].value = CVR_IDCard.Sex;    
                        document.all['race'].value = CVR_IDCard.Nation; 
                        //document.all['Born'].value = CVR_IDCard.Born;  //出生日期    
                        document.all['address'].value = CVR_IDCard.Address; 
                        document.all['identify'].value = CVR_IDCard.CardNo;  */
                        document.getElementById('name').value =  CVR_IDCard.Name;
                        document.getElementById('sex').value =  CVR_IDCard.Sex;
                        document.getElementById('identify').value =  CVR_IDCard.CardNo;
                         document.getElementById('address').value = CVR_IDCard.Address;
                        document.getElementById('picture').src = "data:image/jpg;base64,"+CVR_IDCard.Picture;
                        document.getElementById('photo').value = CVR_IDCard.Picture;
                      /*   document.all['IssuedAt'].value = CVR_IDCard.IssuedAt; //签发机关
                        document.all['EffectedDate'].value = CVR_IDCard.EffectedDate;  //有效期限
                        document.all['ExpiredDate'].value = CVR_IDCard.ExpiredDate; //有效期限
                        document.all['SAMID'].value = CVR_IDCard.SAMID; //模块号码
                        //document.all['pic'].src = CVR_IDCard.Pic;
                        document.all['pic'].src = "data:image/jpg;base64,"+CVR_IDCard.Picture;
                        document.all['Picture'].value = CVR_IDCard.Picture; //照片编码
                        document.all['PictureLen'].value = CVR_IDCard.PictureLen; */ //编码长度
                      	//当前申请人员保障信息统计
                        window.open ('<%=request.getContextPath()%>/app/sldb/society/apply/statistics.jsp?cardNo='+CVR_IDCard.CardNo,'打印页面','height=300,width=300,top=50,left=300,toolbar=no,menubar=no,scrollbars=yes, resizable=no,location=no, status=no');
                   }else{
                        ClearForm();
                        alert(strReadResult);
                   }
				}
				function Button2_onclick() {
                   	var CVR_IDCard = document.getElementById("CVR_IDCard");					
					var strReadResult = CVR_IDCard.ReadCard();
					if(strReadResult == "0")
					{
						if(document.getElementById('c_identify0').value==""){
							document.getElementById('c_name0').value =  CVR_IDCard.Name;
	                        document.getElementById('c_sex0').value =  CVR_IDCard.Sex;
	                        document.getElementById('c_identify0').value =  CVR_IDCard.CardNo;
	                        document.getElementById('c_inputType0').value = "自动";
						}else if(document.getElementById('c_identify1').value==""){
							document.getElementById('c_name1').value =  CVR_IDCard.Name;
	                        document.getElementById('c_sex1').value =  CVR_IDCard.Sex;
	                        document.getElementById('c_identify1').value =  CVR_IDCard.CardNo;
	                        document.getElementById('c_inputType1').value = "自动";
						}else if(document.getElementById('c_identify2').value==""){
							document.getElementById('c_name2').value =  CVR_IDCard.Name;
	                        document.getElementById('c_sex2').value =  CVR_IDCard.Sex;
	                        document.getElementById('c_identify2').value =  CVR_IDCard.CardNo;
	                        document.getElementById('c_inputType2').value = "自动";
						}else if(document.getElementById('c_identify3').value==""){
							document.getElementById('c_name3').value =  CVR_IDCard.Name;
	                        document.getElementById('c_sex3').value =  CVR_IDCard.Sex;
	                        document.getElementById('c_identify3').value =  CVR_IDCard.CardNo;
	                        document.getElementById('c_inputType3').value = "自动";
						}else if(document.getElementById('c_identify4').value==""){
							document.getElementById('c_name4').value =  CVR_IDCard.Name;
	                        document.getElementById('c_sex4').value =  CVR_IDCard.Sex;
	                        document.getElementById('c_identify4').value =  CVR_IDCard.CardNo;
	                        document.getElementById('c_inputType4').value = "自动";
						}else if(document.getElementById('c_identify5').value==""){
							document.getElementById('c_name5').value =  CVR_IDCard.Name;
	                        document.getElementById('c_sex5').value =  CVR_IDCard.Sex;
	                        document.getElementById('c_identify5').value =  CVR_IDCard.CardNo;
	                        document.getElementById('c_inputType5').value = "自动";
						}
                        
                   }else{
                        alert(strReadResult);
                   }
				}
		</script>
		<a href="#" onclick="submit()" class="easyui-linkbutton" id="Button1">提   交</a>
		<a href="#" onclick="ClearForm()" class="easyui-linkbutton" id="Button2">清   空</a>
		<p>
<center>
<label style="font-size:24px">临时救助申请人基本情况登记表</label>
<br> 
<br>
<table width="58%" border="0" align="center" cellpadding="0" cellspacing="0" class="table_1">
  <tr>
    <td height="50" colspan="7" align="left">救助类别：
    	<input id="jinan" name="rescueCategory" type="radio" value="急难型"/>急难型&nbsp;
    	<input id="zhichu" name="rescueCategory" type="radio" value="支出型"/> 支出型 &nbsp;
    	<input id="kunjing" name="rescueCategory" type="radio" value="困境低保" />困境低保&nbsp;
    	<input id="qita" name="rescueCategory" type="radio" value="其他" />其他<br>
    	紧急程度：&nbsp;<input name="type" id="ybjz" type="radio" value="一般救助"/>一般救助&nbsp;<input id="jjjz" name="type" type="radio" value="紧急救助"/>紧急救助<span style="float:right;margin:-20px 0px 0px 0px;">
    	编号： <input type="text" id="numberNO" name="numberNO" value="${emergency.numberNO}" style="border-top-style:none;border-left-style:none;border-right-style:none;border-bottom-style:none;"/></span>
    	<input id="ynumberNO" type="hidden" value="<%=ynumberNO %>" />
    	<input id="jnumberNO" type="hidden" value="<%=jnumberNO %>" />
    </td>
  </tr>
  <tr>
    <td height="20" colspan="7" bgcolor="#BFBFBF" align="left"><strong>申请人基本情况：</strong></td>
    </tr>
  <tr>
    <td width="104" height="37"><div align="center">户主或本人姓名</div></td>
    <td width="116"><input id="name" type="text" name="name" size="9" value="${emergency.name}" readonly="readonly"/></td>
    <td width="111"><div align="center">性别</div></td>
    <td width="73"><input id="sex" type="text" name="sex" size="9" value="${emergency.sex}" readonly="readonly"/></td>
    <td width="69"><div align="center">家庭人口</div></td>
    <td width="66"><input id="home" type="text" name="home" size="9" value="${emergency.home}" readonly="readonly"/></td>
    <td rowspan="3"> <img src="data:image/jpg;base64,${emergency.photo }" style="width: 80px; height: 90px" id="picture" name="picture" /></td>
    </tr>
  <tr>
    <td height="33"><div align="center">
      <p>公民身份证号</p>
      </div></td>
    <td colspan="5" align="left"><input id="identify" type="text" name="identify" size="18" value="${emergency.identify}" readonly="readonly"/></td>
    </tr>
  
  <tr>
    <td height="50"><div align="center">对象类别</div></td>
    <td colspan="5" align="left">
      <span class="STYLE2"><input id="geren" type="radio" name="peopleType"  value="个人对象" />个人对象&nbsp;&nbsp;<input type="radio" id="jiating" name="peopleType" value="家庭对象" />家庭对象&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="radio" id="nongchun" name="accountType"  value="农村居民" />农村居民&nbsp;&nbsp;<input type="radio" id="chengshi" name="accountType" value="城市居民" />城市居民</span><br>
      <span class="STYLE2"><input id="bendi" type="radio" name="registration" value="本地户籍" />本地户籍&nbsp;&nbsp;<input type="radio" id="feibendi" name="registration" value="非本地户籍" />非本地户籍 &nbsp;&nbsp;&nbsp;&nbsp;<input type="radio" name="safeWay" id="dibao" value="低保对象" />低保对象&nbsp;&nbsp;<input type="radio" id="feidibao" name="safeWay" value="非低保对象" />非低保对象</span></td>
    </tr>
  
  <tr>
    <td height="20" colspan="7" bgcolor="#BFBFBF"align="left"><strong>共同生活家庭成员情况：</strong></td>
    </tr>
  <tr>
    <td height="33"><div align="center">姓名</div></td>
    <td><div align="center">性别</div></td>
    <td><div align="center">与户主关系</div></td>
    <td colspan="3"><div align="center">公民身份证号</div></td>
    <td width="115"><div align="center">联系电话</div></td>
  </tr>
  <tr>
    <td height="20"><input id="c_name0" type="text" name="c_name" size="8"  value="${subs[0].name}" readonly="readonly"/></td>
    <td><input id="c_sex0" type="text" name="c_sex" size="8"  value="${subs[0].sex}" readonly="readonly"/></td>
    <td><span class="STYLE2"><select id="c_relation0" class="easyui-combobox"
		name="c_relation" url="<%=request.getContextPath()%>/app/system/dict/listDictByType.action?type=sldb.relation" valueField="id"
		textField="text" editable="false" panelHeight="70"></select></span></td>
    <td colspan="3"><input id="c_identify0" type="text" name="c_identify" size="17"  value="${subs[0].identify}" readonly="readonly"/></td>
    <td><input id="c_contact0" type="text" name="c_contact" size="11"  value="${subs[0].contact}" readonly="readonly"/></td>
    <td ><input id="c_inputType0" type="hidden"  size="5" name="c_inputType"  value="${subs[0].inputType}" readonly="readonly"/></td>
  </tr>
  <tr>
    <td height="20"><input id="c_name1" type="text" name="c_name" size="8" value="${subs[1].name}" readonly="readonly"/></td>
    <td><input id="c_sex1" type="text" name="c_sex" size="8" value="${subs[1].sex}" readonly="readonly"/></td>
    <td><span class="STYLE2"><select id="c_relation1" class="easyui-combobox"
		name="c_relation" url="<%=request.getContextPath()%>/app/system/dict/listDictByType.action?type=sldb.relation" valueField="id"
		textField="text" editable="false" panelHeight="70"></select></span></td>
    <td colspan="3"><input id="c_identify1" type="text" name="c_identify" size="18" value="${subs[1].identify}" readonly="readonly"/></td>
    <td><input id="c_contact1" type="text" name="c_contact" size="11" value="${subs[1].contact}" readonly="readonly"/></td>
    <td ><input id="c_inputType1" type="hidden"  size="5" name="c_inputType" value="${subs[1].inputType}" readonly="readonly"/></td>
  </tr>
  <tr>
    <td height="20"><input id="c_name2" type="text" name="c_name" size="8" value="${subs[2].name}" readonly="readonly"/></td>
    <td><input id="c_sex2" type="text" name="c_sex" size="8" value="${subs[2].sex}" readonly="readonly"/></td>
    <td><span class="STYLE2"><select id="c_relation2" class="easyui-combobox"
		name="c_relation" url="<%=request.getContextPath()%>/app/system/dict/listDictByType.action?type=sldb.relation" valueField="id"
		textField="text" editable="false" panelHeight="70"></select></span></td>
    <td colspan="3"><input id="c_identify2" type="text" name="c_identify" size="18" value="${subs[2].identify}" readonly="readonly"/></td>
    <td><input id="c_contact2" type="text" name="c_contact" size="11" value="${subs[2].contact}" readonly="readonly"/></td>
    <td ><input id="c_inputType2" type="hidden"  size="5" name="c_inputType" value="${subs[2].inputType}" readonly="readonly"/></td>
  </tr>
  <tr>
    <td height="20"><input id="c_name3" type="text" name="c_name" size="8" value="${subs[3].name}" readonly="readonly"/></td>
    <td><input id="c_sex3" type="text" name="c_sex" size="8" value="${subs[3].sex}" readonly="readonly"/></td>
    <td><span class="STYLE2"><select id="c_relation3" class="easyui-combobox"
		name="c_relation" url="<%=request.getContextPath()%>/app/system/dict/listDictByType.action?type=sldb.relation" valueField="id"
		textField="text" editable="false" panelHeight="70"></select></span></td>
    <td colspan="3"><input id="c_identify3" type="text" name="c_identify" size="18" value="${subs[3].identify}" readonly="readonly"/></td>
    <td><input id="c_contact3" type="text" name="c_contact" size="11" value="${subs[3].contact}" readonly="readonly"/></td>
    <td ><input id="c_inputType3" type="hidden" size="5" name="c_inputType" value="${subs[3].inputType}" readonly="readonly"/></td>
  </tr>
  <tr>
    <td height="20"><input id="c_name4" type="text" name="c_name" size="8" value="${subs[4].name}" readonly="readonly"/></td>
    <td><input id="c_sex4" type="text" name="c_sex" size="8" value="${subs[4].sex}" readonly="readonly"/></td>
    <td><span class="STYLE2"><select id="c_relation4" class="easyui-combobox"
		name="c_relation" url="<%=request.getContextPath()%>/app/system/dict/listDictByType.action?type=sldb.relation" valueField="id"
		textField="text" editable="false" panelHeight="70"></select></span></td>
    <td colspan="3"><input id="c_identify4" type="text" name="c_identify" size="18" value="${subs[4].identify}" readonly="readonly"/></td>
    <td><input id="c_contact4" type="text" name="c_contact" size="11" value="${subs[4].contact}" readonly="readonly"/></td>
    <td ><input id="c_inputType4" type="hidden"  size="5" name="c_inputType" value="${subs[4].inputType}"></td>
  </tr>
  <tr>
    <td height="28"><div align="center">审批人</div></td>
    <td colspan="2" align="left"><input id="audit" type="text" name="audit" size="11" value="${emergency.audit}"/></td>
    <td colspan="3"><div align="center">审批金额</div></td>
    <td><input id="money" type="text" name="money" size="11" value="${emergency.money}" readonly="readonly"/></td>
  </tr>
  <tr>
    <td height="55"><div align="center">申请事由</div></td>
    <td height="55" colspan="6" align="left">
    	<span class="STYLE2">
    		<input type="radio" id="hz" name="applyCause" value="火灾" />火灾
    		&nbsp;<input type="radio" id="jt" name="applyCause" value="交通事故" />交通事故
    		&nbsp;<input type="radio" id="tf" name="applyCause"  value="突发重大疾病" />突发重大疾病
    		&nbsp;<input type="radio" id="kj" name="applyCause" value="困境低保" />困境低保
    		&nbsp;<input type="radio" id="zc" name="applyCause" value="支出型困难" />支出型困难
    		&nbsp;<input type="radio" id="qt" name="applyCause" value="其他特殊困难" />其他特殊困难
    		<br><br>
    		&nbsp;病种描述：<input type="text" name="causeDesc" id="causeDesc" size="60" value="${emergency.causeDesc}"  readonly="readonly" style="border-bottom: 1px solid;"/>
    	</span>
    </td>
  </tr>
  <tr>
    <td height="20" colspan="7" bgcolor="#CCCCCC" align="left"><strong>审批情况：<span style="float:right;margin-right:20px;"><input name="approveType" type="radio" checked="checked" value="审批建议"/>审批建议&nbsp;<input name="approveType" type="radio" value="小额审批"/>小额审批</span></strong></td>
    </tr>
  
  <tr>
    <td height="34"><div align="center">救助标准</div></td>
    <td height="34" colspan="6" align="left">救助人口：<input id="people" type="text" name="people" size="8" style="border-bottom: 1px solid;" value="${emergency.people}"/>人  救助月数：<input id="month" type="text" name="month" size="8" style="border-bottom: 1px solid;" value="${emergency.month}"/>月  使用低保标准：<input id="standard" type="text" name="standard" size="8" style="border-bottom: 1px solid;" value="${emergency.standard}"/>元/月</td>
  </tr>
  <tr>
    <td height="29"><div align="center">救助方式</div></td>
    <td height="29" colspan="6" align="left">
    	<span class="STYLE2">
    		<input type="radio" id="shehuihua" name="way" value="社会化发放" />社会化发放
    		&nbsp;<input type="radio" id="xianjin" name="way" value="发放现金" />发放现金
    	</span>
    </td>
  </tr>
  <tr>
    <td height="20" colspan="7" bgcolor="#BFBFBF" align="left"><strong>附件：</strong></td>
    </tr>
  <tr>
    <td height="99" colspan="7" align="left"></td>
    </tr>
</table>
</center>
<input type="hidden" id="photo" name="photo" value="${emergency.photo }"/>
</form>
</body>
</html>
